home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / MPW Goodies / Interfaces / CIncludes / Desk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-11-30  |  1.2 KB  |  63 lines  |  [TEXT/MPS ]

  1. /************************************************************
  2.  
  3. Created: Tuesday, October 4, 1988 at 5:30 PM
  4.     Desk.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.  1985-1988 
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __DESK__
  15. #define __DESK__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. #ifndef __QUICKDRAW__
  22. #include <Quickdraw.h>
  23. #endif
  24.  
  25. #ifndef __EVENTS__
  26. #include <Events.h>
  27. #endif
  28.  
  29. #define accEvent 64
  30. #define accRun 65
  31. #define accCursor 66
  32. #define accMenu 67
  33. #define accUndo 68
  34. #define accCut 70
  35. #define accCopy 71
  36. #define accPaste 72
  37. #define accClear 73
  38. #define goodbye -1  /*goodbye message*/
  39.  
  40. #ifdef __safe_link
  41. extern "C" {
  42. #endif
  43. pascal short OpenDeskAcc(const Str255 theAcc)
  44.     = 0xA9B6; 
  45. pascal void CloseDeskAcc(short refNum)
  46.     = 0xA9B7; 
  47. pascal void SystemClick(const EventRecord *theEvent,WindowPtr theWindow)
  48.     = 0xA9B3; 
  49. pascal Boolean SystemEdit(short editCmd)
  50.     = 0xA9C2; 
  51. pascal void SystemTask(void)
  52.     = 0xA9B4; 
  53. pascal Boolean SystemEvent(const EventRecord *theEvent)
  54.     = 0xA9B2; 
  55. pascal void SystemMenu(long menuResult)
  56.     = 0xA9B5; 
  57. short opendeskacc(char *theAcc); 
  58. #ifdef __safe_link
  59. }
  60. #endif
  61.  
  62. #endif
  63.